package com.example.huayang.appdome.https;

import com.lzy.okgo.model.HttpHeaders;

/**
 * Created by WANG on 2017/9/23.
 * 必传头部
 */

public class MandatoryHeaders {
    public static MandatoryHeaders instance;

    public static MandatoryHeaders getInstance(){
        synchronized (MandatoryHeaders.class){
            if(instance == null){
                instance = new MandatoryHeaders();
            }
        }
        return instance;
    }

    public HttpHeaders mandatoryHeaders(){
        HttpHeaders headers = new HttpHeaders();
        headers.put("", " ");
        return headers;
    }
}
